<!-- common start -->
#include("common.html")
<!-- common end -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>视频内容页</title>
<link rel="stylesheet" type="text/css" href="#(tpath)/static/css/css.css">
<link rel="stylesheet" type="text/css" href="#(tpath)/static/videojs/video-js.css">
<script src="#(tpath)/static/js/jquery.min.js"></script>
<script src="#(tpath)/static/js/jquery.SuperSlide.2.1.1.js"></script>
<script src="#(tpath)/static/videojs/video.js"></script>
</head>
<body>
<!-- header start -->
#include("header.html")
<!-- header end -->
<div class="mainbody">
	<div class="w210 fl">
			<div class="sidenav bg">
				<div class="title"><s></s>视频分类</div>
			    <div class="leftbox">
					<ul>
						#category_children_list(categoryId=currentContent.categoryId)
							#for(category : categorys)
			                 	<li><s></s><a class="select" href="#(category.path)">#(category.name)</a></li>
			                 #end
						#end
					</ul> 
			   	</div>
			</div>
			<div class="blank10 clear"></div>
            #include("contact.html")
	</div>
	<div class="w740 fr">
		<div class="page bg">
         	<div class="newstitle">您当前位置：<a  href="#(currentSite.url)/">首页</a> >> #(currentContent.category.name)</div>
            <div class="blank10 clear"></div>	
            <h2>#(currentContent.title)</h2> 
            <div class="info">时间：#date(currentContent.createDate,"yyyy-MM-dd") 点击：<script src="#(currentSite.url)/api/visits?contentId=#(currentContent.id)"></script>次</div>
            <div class="content">
            <div style="margin: 0 auto;width: 434px;">
	            <video width="434" height="290" class="video-js vjs-default-skin" controls preload="none" data-setup="{}" poster="#(currentContent.getAttribute('videoPic'))">
	                <source src="#(currentContent.getAttribute('videoFile'))" type="video/mp4" id="mongofile"/>
	                <track kind="captions" src="demo.captions.vtt" srclang="en" label="English"></track><!-- Tracks need an ending tag thanks to IE9 -->
	                <track kind="subtitles" src="demo.captions.vtt" srclang="en" label="English"></track><!-- Tracks need an ending tag thanks to IE9 -->
	            </video>
            </div>
            <a href="#(currentSite.url)/common/down/file?fileKey=#(currentContent.getAttribute('videoFile'))">下载</a>
            <div>
                #(currentContent.introduction)
            </div>
            </div>
            <div class="blank10 clear"></div>	
		</div>
	</div>
</div>
<!-- footer start -->
#include("footer.html")
<!-- footer end -->
</body>
</html>